package com.gy.api.pc.sys.authority.domain.po;

import com.gy.api.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "sys_authority")
@Data
@EqualsAndHashCode(callSuper = false)
public class SysAuthorityPO extends BaseEntity {

    /**
     * 父权限
     */
    @Column(name = "parent_id")
    private String parentId;

    /**
     * 权限名称
     */
    @Column(name = "authority_name")
    private String authorityName;

    /**
     * 权限类型 1.权限菜单 2.权限按钮
     */
    @Column(name = "authority_type")
    private Integer authorityType;

    /**
     * 权限连接
     */
    @Column(name = "authority_url")
    private String authorityUrl;

    /**
     * 权限标识
     */
    @Column(name = "authority_sign")
    private String authoritySign;
    /**
     * 权限标识
     */
    @Column(name = "authority_tv_type")
    private String authorityTvSign;

    @Column(name = "authority_type_s")
    private String authoritySigns;
    @Column(name = "authority_component")
    private String authorityComponent;
    @Column(name = "visible")
    private Integer visible;
    @Column(name = "is_cache")
    private Integer isCache;
    @Column(name = "order_num")
    private Integer orderNum;


}